<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<ul class="notification-body">
    <s:if test="announceList.size() > 0">
        <s:iterator value="announceList" id="list">
            <li>
				<span class="">
					<a href="#ajax-announce!input.action?keyId=<s:property value="#list.id"/>" class="msg">
                        <img src="../resource/com/img/avatars/male.png" alt="" class="air air-top-left margin-top-5" width="40" height="40" />
                        <span class="from"> <i class="fa fa-user txt-color-green"></i>  <s:property value="#list.creater.name"/> </span>
                        <time><s:date name="#list.createDate" format="yyyy-MM-dd HH:mm" /></time>
                        <span class="subject"><i class="fa fa-volume-down"></i> <s:property value="#list.name"/></span>
                        <span class="msg-body"><i class="fa fa-paperclip"></i>  [<s:property value="#list.content"/>] </span>
                    </a>
				</span>
            </li>
        </s:iterator>
    </s:if>
    <s:else>
        <h4> <i class="fa fa-warning"></i> 我还没有发表任何批注信息！</h4>
    </s:else>
</ul>
